#include<stdio.h>
int main()
{
	int i=1,s=0;
	printf("s=0");
	while(i<=50)
	{
		printf("+%d",i); 
		s=s+i;
		i++;
	}
	printf("\n");
	printf("s=%d\n",s);
	return 0;
}
 